package training;

public class Training03 {
    public static void main(String[] args) {
//        Rectangle rectangle = new Rectangle(100,50);
//        System.out.println(rectangle.calArea());

//        Mail mail = new Mail("小明","小刚","明天12点开会");
//        mail.printInfo();

        BankAccount bankAccount = new BankAccount("小张",5000,0.05);
        System.out.println(bankAccount.calcRate());
    }
}
